﻿<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="../Master.xslt" type="text/xsl"?>
<content doctype="xhtml1-strict" xmlns:myMethods="urn:myMethods">
  <param name="step" />
  <html output:xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:output="urn:output">
    <head>
      <title>Ajax Example</title>
      <meta name="description" content="Ajax" />
      <link rel="stylesheet" type="text/css" href="/_Content/Site.css" />
      <script src="/Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
      <script src="/Scripts/MicrosoftAjax.debug.js" type="text/javascript"></script>
      <script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
    </head>
    <body>
      <pageContent>
        <form>
          <actionLink action="SampleAjaxContent" />
          <ajaxOptions>
            <UpdateTargetId>target</UpdateTargetId>
          </ajaxOptions>
          <input type="submit" name="update" value="Update time" />
        </form>
        <div id="target">
          Using include:
          <include href="SampleAjaxContent.xml" />
          Using renderPartial:
          <renderPartial viewName="'SampleAjaxContent'" />
          Using renderAction:
          <renderAction action="SampleAjaxContent" controller="Home" />
        </div>
        <debug />
        <wizardNav name="SampleAjax" />
      </pageContent>
    </body>
  </html>
</content>